package com.ibeetl.admin.core.service;

import com.ibeetl.admin.core.dao.FiCodeTransDao;
import com.ibeetl.admin.core.entity.CoreSearch;
import com.ibeetl.admin.core.entity.FiCodeTrans;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class FiCodeTransService {
	@Autowired
	FiCodeTransDao fiCodeTransDao;

	public List<FiCodeTrans> getFiCodeTransDatas(){
		return fiCodeTransDao.getFiCodeTransDatas();
	}

	public FiCodeTrans getTransManageCom(CoreSearch search){
		return fiCodeTransDao.getTransManageCom(search);
	}

	public List<FiCodeTrans> getSixManageComList(){
		return fiCodeTransDao.getSixManageComList();
	}

}
